package com.techstar.api.pojo.city;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.api.pojo.complex_id.SectionFlowTrendId;
import com.techstar.common.jackson.StrDateHourDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 路段流量趋势
 * @date 2021年6月24日
 *
 */
@Getter
@Setter
@Entity
@ToString
@Table(name = "section_flow_trend")
@IdClass(SectionFlowTrendId.class)
@org.hibernate.annotations.Table(appliesTo = "section_flow_trend",comment="pord-2-路段流量趋势")
public class SectionFlowTrend {
	private String magnetCode;
	@Id
	private String sectionName;
	private String distId;
	private String distName;
	@Id
	@JsonDeserialize(using = StrDateHourDeserializer.class)
	private String startTime;
	private String internalId;
	private String pcuValume;
	private String pcuValumeCsy;
	private String pcuValumeCsm;
}
